<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('bulletin/index')}">公告列表</a></li>
			<li class="active"><a href="{:url('bulletin/add')}">公告添加</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('bulletin/addpost')}">
			<div class="form-group">
				<label for="input-b_title" class="col-sm-2 control-label"><span class="form-required">*</span>公告名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-b_title" name="b_title">
				</div>
			</div>
			<div class="form-group">
				<label for="input-b_lasttime" class="col-sm-2 control-label"><span class="form-required">*</span>截至时间</label>
				<div class="col-md-6 col-sm-10">
					<input type="datetime" class="form-control js-bootstrap-datetime" id="input-b_lasttime" name="b_lasttime" value="{:date('Y-m-d H:i',strtotime('+1 month'))}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-b_description" class="col-sm-2 control-label"><span class="form-required">*</span>公告内容</label>
				<div class="col-md-6 col-sm-10">
					<textarea class="form-control" id="input-b_description"  name="b_description" placeholder="请填写公告内容"></textarea>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">添加</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>